#include "mainwindow.h"

#include <QApplication>
#include <SDL2/SDL.h>
int main(int argc, char *argv[])
{

    if(SDL_Init(SDL_INIT_VIDEO)) {

        qDebug() << "SDL_Init fail";
        return 0;
    };
    QApplication a(argc, argv);
    MainWindow w;
    w.show();
    int res = a.exec();
    SDL_Quit();
    return res;
}
